SRFM\Inc\Form_Submit D

Total Complexity 172
Dependencies 9
Dependents 1
Total lines 1,064
Lines of code 697
Logical lines of code 364
Comment lines 212
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
19
71 186
handle_form_entry()
C
29 23 130
send_email()
A
38 10 73
field_unique_validation()
A
44 12 42
prepare_submission_data()
A
50 10 26
recaptcha_error_message()
A
39 6 73
add_from_data_in_header()
S
58 8 12
parse_email_notification_template()
S
52 7 21
validate_hcaptcha_token()
S
49 5 33
validate_turnstile_token()
S
49 5 33
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
change_upload_dir()
S
70 1 6
recaptcha_error_response()
S
65 1 10
__construct()
S
68 1 7